<{include file="app/header.tpl"}>

<header class="focus focus2 loadimg">
    <ul class="focusUl fix">
        <{foreach from=$banners item="banner"}>
        <li>
            <a href="<{$banner.url}>"><img src="<{$banner.iconUrl}>" alt=""></a>
        </li>
        <{/foreach}>
    </ul>
    <ol class="focusOl">
        <{foreach from=$banners item="banner" name="banner"}>
        <li <{if $smarty.foreach.banner.index == 0}>class="active"<{/if}>></li>
        <{/foreach}>
    </ol>
</header>

<ul class="davshop-list">
    <{foreach from=$shops item=shop}>
    <li class="li">
        <a href="/davshop/detail/<{$shop.id}>" class="a" title="">
            <div class="left"><img src="<{$shop.shopIcon}>" alt="" class="img"></div>
            <div class="middle">
                <p class="shop-name"><{$shop.shopName}></p>
                <p class="prompt"><{$shop.shortDesc}></p>
                <p class="info">
                    收藏<span class="number"><{$shop.countsLike}></span>
                    人气<span class="number"><{$shop.countsView}></span>
                </p>
            </div>
            <em class="back-icon"></em>
        </a>
    </li>
    <{/foreach}>
</ul>

<script>
// 焦点图轮播
lw.focus(document.getElementsByClassName('focus')[0], 6000);

</script>

<{include file="app/footer.tpl"}>
